package com.ourteam.education.dao;
import net.dao.IDataAccessInterface;
/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2019-09-22 15:15:04
  * Warning ! This file will be overwrite when regenerate !
  * 
 */
public interface IBaseLessonDAO 
    extends IDataAccessInterface<Lesson, LessonDAOQueryBean>{
    
    /**
	*  Mapped Entity Name
	*/
	static final String EntityName = "EDU_LESSON";
	
		
	/**
	 * Mapped Field ID
	*/
	
	static final String Id = "EDU_LESSON.ID";
	
		
	/**
	 * Mapped Field CAMPUS_ID
	*/
	
	static final String CampusId = "EDU_LESSON.CAMPUS_ID";
	
		
	/**
	 * Mapped Field CLASS_ID
	*/
	
	static final String ClassId = "EDU_LESSON.CLASS_ID";
	
		
	/**
	 * Mapped Field TEACHER_ID
	*/
	
	static final String TeacherId = "EDU_LESSON.TEACHER_ID";
	
		
	/**
	 * Mapped Field COURSE_PRICE_ID
	*/
	
	static final String CoursePriceId = "EDU_LESSON.COURSE_PRICE_ID";
	
		
	/**
	 * Mapped Field CLASSROOM_ID
	*/
	
	static final String ClassroomId = "EDU_LESSON.CLASSROOM_ID";
	
		
	/**
	 * Mapped Field REPEAT_TYPE
	*/
	
	static final String RepeatType = "EDU_LESSON.REPEAT_TYPE";
	
		
	/**
	 * Mapped Field REPEAT_PERIOD
	*/
	
	static final String RepeatPeriod = "EDU_LESSON.REPEAT_PERIOD";
	
		
	/**
	 * Mapped Field EXCLUDE_HOLIDAYS
	*/
	
	static final String ExcludeHolidays = "EDU_LESSON.EXCLUDE_HOLIDAYS";
	
		
	/**
	 * Mapped Field START_DATE
	*/
	
	static final String StartDate = "EDU_LESSON.START_DATE";
	
		
	/**
	 * Mapped Field END_DATE
	*/
	
	static final String EndDate = "EDU_LESSON.END_DATE";
	
		
	/**
	 * Mapped Field MAX_LESSON_COUNT
	*/
	
	static final String MaxLessonCount = "EDU_LESSON.MAX_LESSON_COUNT";
	
		
	/**
	 * Mapped Field START_LESSON_TIME
	*/
	
	static final String StartLessonTime = "EDU_LESSON.START_LESSON_TIME";
	
		
	/**
	 * Mapped Field END_LESSON_TIME
	*/
	
	static final String EndLessonTime = "EDU_LESSON.END_LESSON_TIME";
	
		
	/**
	 * Mapped Field LESSON_TOPIC
	*/
	
	static final String LessonTopic = "EDU_LESSON.LESSON_TOPIC";
	
		
	/**
	 * Mapped Field DELETE_FLAG
	*/
	
	static final String DeleteFlag = "EDU_LESSON.DELETE_FLAG";
	
		
	/**
	 * Mapped Field STATUS
	*/
	
	static final String Status = "EDU_LESSON.STATUS";
	
		
	/**
	 * Mapped Field REMARKS
	*/
	
	static final String Remarks = "EDU_LESSON.REMARKS";
	
		
	/**
	 * Mapped Field COURSE_ID
	*/
	
	static final String CourseId = "EDU_LESSON.COURSE_ID";
	
		
						
	/**
	 * Mapped Attribute campusName
	*/
	static final String CampusName = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.ICampusDAO.CampusName,
	        com.ourteam.education.dao.ICampusDAO.EntityName + ".",
	        "RELATED_XBCYJ7_Campus."
	   );
	
								
	/**
	 * Mapped Attribute classroomName
	*/
	static final String ClassroomName = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.IClassroomDAO.ClassroomName,
	        com.ourteam.education.dao.IClassroomDAO.EntityName + ".",
	        "RELATED_DJK1UX_Classroom."
	   );
	
								
	/**
	 * Mapped Attribute className
	*/
	static final String ClassName = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.IClassDefineDAO.ClassName,
	        com.ourteam.education.dao.IClassDefineDAO.EntityName + ".",
	        "RELATED_3VWSNZ_ClassDefine."
	   );
	
								
	/**
	 * Mapped Attribute teacherName
	*/
	static final String TeacherName = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.ITeacherDAO.TeacherName,
	        com.ourteam.education.dao.ITeacherDAO.EntityName + ".",
	        "RELATED_GFNPS5_Teacher."
	   );
	
								
	/**
	 * Mapped Attribute courseName
	*/
	static final String CourseName = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.ICourseDefineDAO.CourseName,
	        com.ourteam.education.dao.ICourseDefineDAO.EntityName + ".",
	        "RELATED_D6L5JE_CourseDefine."
	   );
	
				
	static public interface DataProperty{
		
	   /**
	    * Attribute id
	    */
	   static final String Id = "id";
	
		
	   /**
	    * Attribute campusId
	    */
	   static final String CampusId = "campusId";
	
		
	   /**
	    * Attribute classId
	    */
	   static final String ClassId = "classId";
	
		
	   /**
	    * Attribute teacherId
	    */
	   static final String TeacherId = "teacherId";
	
		
	   /**
	    * Attribute coursePriceId
	    */
	   static final String CoursePriceId = "coursePriceId";
	
		
	   /**
	    * Attribute classroomId
	    */
	   static final String ClassroomId = "classroomId";
	
		
	   /**
	    * Attribute repeatType
	    */
	   static final String RepeatType = "repeatType";
	
		
	   /**
	    * Attribute repeatPeriod
	    */
	   static final String RepeatPeriod = "repeatPeriod";
	
		
	   /**
	    * Attribute excludeHolidays
	    */
	   static final String ExcludeHolidays = "excludeHolidays";
	
		
	   /**
	    * Attribute startDate
	    */
	   static final String StartDate = "startDate";
	
		
	   /**
	    * Attribute endDate
	    */
	   static final String EndDate = "endDate";
	
		
	   /**
	    * Attribute maxLessonCount
	    */
	   static final String MaxLessonCount = "maxLessonCount";
	
		
	   /**
	    * Attribute startLessonTime
	    */
	   static final String StartLessonTime = "startLessonTime";
	
		
	   /**
	    * Attribute endLessonTime
	    */
	   static final String EndLessonTime = "endLessonTime";
	
		
	   /**
	    * Attribute lessonTopic
	    */
	   static final String LessonTopic = "lessonTopic";
	
		
	   /**
	    * Attribute deleteFlag
	    */
	   static final String DeleteFlag = "deleteFlag";
	
		
	   /**
	    * Attribute status
	    */
	   static final String Status = "status";
	
		
	   /**
	    * Attribute remarks
	    */
	   static final String Remarks = "remarks";
	
		
	   /**
	    * Attribute campusName
	    */
	   static final String CampusName = "campusName";
	
		
	   /**
	    * Attribute className
	    */
	   static final String ClassName = "className";
	
		
	   /**
	    * Attribute teacherName
	    */
	   static final String TeacherName = "teacherName";
	
		
	   /**
	    * Attribute classroomName
	    */
	   static final String ClassroomName = "classroomName";
	
		
	   /**
	    * Attribute courseId
	    */
	   static final String CourseId = "courseId";
	
		
	   /**
	    * Attribute coursePriceDesc
	    */
	   static final String CoursePriceDesc = "coursePriceDesc";
	
		
	   /**
	    * Attribute courseName
	    */
	   static final String CourseName = "courseName";
	
		
	}
	
	static public interface _DataObjectProperty extends DataProperty{
		
	}
	
					    	    																																																																										
		
	/**
	 * Delete Data
	 * @param final long id
	 * @throws Exception
	 */
	void delete(  final long id ) throws Exception;
    /**
	 * Find Data By Primary Key
	 * @param  final long id
	 * @throws Exception
	 */
	Lesson findById( final long id ) throws Exception;
	
		
		
}